import request from '@/utils/request'

export const login = data => request.post('/api/user-service/user/login', data)
export const getImageCode = (token) => {
  return request({
    method: 'GET',
    url: `/api/user-service/user/imageCode/${token}`,
    responseType: 'arraybuffer'
  })
}
